<?php
/**
 * Encryption class file 
 *
 * @package Jurnalport
 */

/**
 * Encryption class
 * 
 * @package Jurnalport
 * @author Jansen Price <jansen.price@nerdery.com>
 * @version $Id$
 */
class Encryption
{
    /**
     * Encrypt
     * 
     * @param string $input Un-encrypted input text
     * @return string
     */
    public static function encrypt($input)
    {
        return base64_encode($input);
    }

    /**
     * Decrypt
     * 
     * @param string $input Encrypted input text
     * @return string
     */
    public static function decrypt($input)
    {
        return base64_decode($input);
    }
}
